import React from 'react';
import CommonBorder from './../DispatchPage/Components/CommonBorder';
import Tab from '../../TabChange';
import './index.scss';

const tab = [
  {
    label: '行政处罚数据',
    route: '/system/data/mobile_law/punish_data',
    level: 4
  },
  {
    label: '日常巡查记录',
    route: '/system/data/mobile_law/day_record',
    level: 4
  }
];
class DataImportPage extends React.PureComponent {
  render() {
    return (
      <div className="mobile_law_page">
        <Tab
          configTab={tab}
        />
        <CommonBorder
          content={<div>{this.props.children}</div>}
        />
      </div>
    );
  }
}

export default DataImportPage;
